package com.css.fxfzypg.modules.suggestinfo.analysis.annualrisk.service;

import com.css.fxfzypg.modules.suggestinfo.analysis.annualrisk.repository.entity.AnnualRiskEntity;
import com.css.fxfzypg.modules.suggestinfo.analysis.disasterscenario.repository.entity.DisasterScenarioEntity;
import com.css.fxfzypg.modules.suggestinfo.analysis.suggestionanalysis.vo.ParamsVo;

import java.io.UnsupportedEncodingException;
import java.util.List;

public interface AnnualRiskService {

    Boolean save(AnnualRiskEntity annualRiskEntity) throws UnsupportedEncodingException;

    Boolean update(AnnualRiskEntity annualRiskEntity);

    AnnualRiskEntity getAnnualRiskData(ParamsVo params);

    List<AnnualRiskEntity> getAnnualRiskDataByTaskNum(String taskNum);
    AnnualRiskEntity getAnnualRiskDataByTaskNum(String taskNum, String cityId, String areaId);

    List<AnnualRiskEntity> getAnnualRiskAreaData(ParamsVo paramsVo);

    int getCountById(String id);
}
